<?php

require_once 'consts.php';

function isLoggedIn($user, $password) {}

function logIn($user, $password) {
	$properPassword=trim(file_get_contents('haslo.txt'));
	return $properPassword==md5($password);	
}

function logOut() {}

function redirect( $site )
{
	header('location: ' . $site);
	exit();
}

